{include file="/default/Header.tpl"}
<div id="content">
	<div class="view">
		<div class="box">
			<div class="img">
                <img src="{$article.img|default:"/images/nb2.gif"}" width="100" height="100" />
                {if $article.url !=''}<center><a href="{$article.url}" target="_blank" >{$article.nickname|default:"路人？"}</a></center>{else}<center>{$article.nickname|default:"路人？"}</center>{/if}
			</div>
			<h1>路边社报道：<span>{$article.title}</span></h1>
			<div class="content">
				{$article.content}
			</div>
			<ol><li>时间：{date('Y-m-d',$article.posttime)}</li><li>地点：{$article.situs|default:"路边"}</li><li>路边社常驻路边记者：{$article.nickname|default:"路人？"}</li></ol>
		</div>
		
		<h3 class="common box">东写西读：</h3>
			<ul class="list box">
				{foreach key=_k item=_v from=$list}
	        	<li {if ($_k+1)%2 ==0}class="bg"{/if}>
	            	<div class="img">
	                <img src="{$_v.img|default:"/images/nb2.gif"}" width="100" height="100" />
	                {if $_v.url !=''}<center><a href="{$_v.url}" target="_blank" >{$_v.nickname|default:"路人甲"}</a></center>{else}<center>{$_v.nickname|default:"路人？"}</center>{/if}
	                </div>
	            	
	                <p>{$_v.content|strip_tags|truncate:350:"...":true|nl2br}</p>
	                <ol><li>时间：{date('Y-m-d',$_v.posttime)}</li><li>地点：{$_v.situs|default:"路边"}</li><li>路边社常驻路边记者：{$_v.nickname|default:"路人？"}</li></ol>
	                <div style="clear:both;"></div>
	            </li>
	         	{/foreach}
			</ul>
			
			<div class="box" style=" margin-top:15px;">
				<h2>既然来了，就说两句吧！</h2>
				<div class="edit">
					<script type="text/javascript" charset="utf-8" src="/editor/kindeditor.js"></script>
		            <form action="/comment/add/pid/{$article.pid}" method="post" enctype="application/x-www-form-urlencoded">
		                <table width="680" cellpadding="5" cellspacing="5">
		                    <tr><th>QQ:</th><td><input type="text" name="qq" value="" />没有人会看到你的QQ，在别人评论你的文章时，向你发送通知！</td></tr>
		                    <tr style="display:none;"><th>E-mail:</th><td><input type="text" name="email" value="" />不想留下QQ，留下E-mail也好，不过效果不是很好！</td></tr>
		                    <tr><th>昵称:</th><td><input type="text" name="nickname" value="" />留下大名吧！</td></tr>
		                    <tr><th>网址:</th><td><input type="text" name="url" value="http://" />你的博客或者是网站网址，记得要加 <span style=" color:#F00;">http://</span> 哦！</td></tr>
		                    <tr><td colspan="2"><textarea name="content" id="contents" style="width:660px;height:200px;visibility:hidden;"></textarea></td></tr>
		                </table>
		             {literal}
		             <script type="text/javascript">
						KE.show({
							id : 'contents',
							resizeMode : 1,
							allowPreviewEmoticons : false,
							allowUpload : false,
							filterMode : true,
							items : [
							'fontname', 'fontsize', '|', 'textcolor', 'bgcolor', 'bold', 'italic', 'underline',
							'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
							'insertunorderedlist', '|', 'emoticons', 'image', 'link'],
							htmlTags :{font : ['color', 'size', 'face', '.background-color'],span : ['style'],div : ['class', 'align', 'style'],table: ['class', 'border', 'cellspacing', 'cellpadding', 'width', 'height', 'align', 'style'],'td,th': ['class', 'align', 'valign', 'width', 'height', 'colspan', 'rowspan', 'bgcolor', 'style'],        a : ['class', 'href', 'target', 'name', 'style'],embed : ['src', 'width', 'height', 'type', 'loop', 'autostart', 'quality','style', 'align', 'allowscriptaccess', '/'],img : ['src', 'width', 'height', 'border', 'alt', 'title', 'align', 'style', '/'],hr : ['class', '/'],br : ['/'],'p,ol,ul,li,blockquote,h1,h2,h3,h4,h5,h6' : ['align', 'style'],'tbody,tr,strong,b,sub,sup,em,i,u' : []}
						});
					</script>
					{/literal}
		                <center><input type="submit" value="提   交" /></center>
		            </form>
		        </div>
			</div>
			
	</div>
		
	{include file="/default/Home/Right.tpl"}
	<div style="clear:both;"></div>
</div>
{include file="/default/Footer.tpl"}